import QtQuick 2.2
import QtQuick.Layouts 1.1

Item {
    property string instructText: ""

    //分配字符
    function DealText(textlist)
    {
        var index = 0;
        while(index < textlist.count)
        {
            rowlayout.children[index] = textlist[index]
        }

    }

    RowLayout{
        id: rowlayout
        spacing: 2;
        anchors.fill: parent

        Repeater{
            id: repeater
            model: 15
            InstructItem{
                height: parent.height
                clickcolor: qsTr("lightblue")
                fontcolor: qsTr("green1")
            }
        }
    }
}
